package codebush.service.scheduling;

import org.quartz.JobExecutionContext;
import org.springframework.scheduling.quartz.QuartzJobBean;

import codebush.service.support.mail.CodebushMailRetriever;

/**
 * 
 * 2008-5-20
 * 
 * @author Fution Bai Copyright 2007
 */

public class CheckMailToPostQuartzJob extends QuartzJobBean {

	CodebushMailRetriever codebushMailRetriever;
	public void setCodebushMailRetriever(CodebushMailRetriever codebushMailRetriever){
		this.codebushMailRetriever = codebushMailRetriever;
	}
	protected void executeInternal(JobExecutionContext context) {
		codebushMailRetriever.retrieve();
	}

}
